package kr.ac.hufs;

public class var {
	public final static int ON =1;
	public final static int OFF = 0;
	public final static int USER_COMMAND = 0;
	public final static int S_REPLY = 1;
	public final static int S_REPLY1 = 2;
	public final static int S_REPLY2 = 3;
	public final static int I_REPLY = 4;
	public final static int P_REPLY = 5;
	public final static int DATA_TRANSFER = 6;
	
	public final static int OPEN = 0;
	public final static int PASSWORD = 1;
	public final static int LS = 2;
	public final static int CD = 3;
	public final static int TYPE = 4;
	public final static int TYPE_CHANGE = 5;
	public final static int GET = 6;
	public final static int PUT = 7;
	public final static int CLOSE = 8;
	public final static int QUIT = 9;
	public final static int PASSIVE = 10;
	public final static int DEBUG = 11;
	public final static int ELSE = 12;
	public final static int PWD = 13;
	public final static int LCD = 14;
	public final static int SYSTEM = 15;
	//public final static int NLS =16;
	
	public final static int MAXLINE = 4096;
		
	public final static int MY_PORTNUM = 9878;
	public final static int INIT_ACTIVE_PORT = 2000; 
	public final static int FTP_PORT_NUM = 21;
	public final static int WORD_NUM = 15;
	public final static int WORD_LENG = 30;
	public final static int MSG_LENG = 200;
	
	public static int ACTIVE_PORT_NUM;
	public static int I_DATA_PORT_NUM;
	public static int COMMAND_TYPE;
	public static int DATA_CONN_MODE;
	public static int BINARY_MODE;
	public static int DEBUG_MODE;
	public static int ACTIVE_MODE;
	public static int CURRENT_STATE;
	public static int stdinof;
	public static int SOCKFD;
	
	StringBuffer SERVIPADDER = new StringBuffer();
	StringBuffer PATHNAME = new StringBuffer();
	StringBuffer DATA_PORT_NUM = new StringBuffer();

}
